Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add is_lower_triangular, tweak is_upper_triangular #1430

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

fingolfin
Copy link
Member

The old is_upper_triangular did something strange; it reported
matrices as upper triangular that I would not consider to be, e.g.
[ 1 0 0 ; 0 0 1 ; 1 0 1 ]

@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Merging #1430 (da75512) into master (c390a51) will decrease coverage by 0.17%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1430      +/-   ##
==========================================
- Coverage   84.60%   84.44%   -0.17%     
==========================================
  Files         109      109              
  Lines       29322    29339      +17     
==========================================
- Hits        24809    24774      -35     
- Misses       4513     4565      +52     
Files Changed Coverage Δ
src/AbstractAlgebra.jl 56.25% <ø> (ø)
src/NemoStuff.jl 3.35% <ø> (+0.07%) ⬆️
src/Matrix.jl 91.41% <100.00%> (-0.35%) ⬇️

... and 24 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lgoettgens
Copy link
Collaborator

Why is the argument MatElem for one function and MatrixElem for the other?

The old is_upper_triangular did something strange; it reported
matrices as upper triangular that I would not consider to be, e.g.
[ 1 0 0 ; 0 0 1 ; 1 0 1 ]
@fingolfin
Copy link
Member Author

Oops, that was meant to be MatrixElem in both cases (as it already said in the .md file). Fixed now, thanks for spotting it.

@thofma thofma merged commit 63f812c into master Sep 13, 2023
14 of 15 checks passed
@thofma thofma deleted the mh/is_upper_lower_triangular branch September 13, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants